package com.wudl.utils

import java.util.Properties

/**
 * 读取属性文件
 */
object ConfigUtil {


  val is = ConfigUtil.getClass.getClassLoader.getResourceAsStream("config.properties")
  val props = new Properties()
  props.load(is)

  def getProperty(key: String): String = props.getProperty(key)

}
